<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib  uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<div class="pageHeader">
     <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="contract/ContractList" method="post">
         <div class="searchBar">
            <table class="searchContent">
            <tr>
                <td>
                        项目名称：
                    <input type="text" id="project" name="b_T_Ufp_Contract.project" value="${b_T_Ufp_Contract.project}"/>
                </td>
              
                <td>
                        合同编号：
                    <input type="text" id="contractid" name="b_T_Ufp_Contract.contractid" value="${b_T_Ufp_Contract.contractid}"/>

                </td>
                   <td>
                        盖章日期：
            <input type="text" id="stamptime" name="b_T_Ufp_Contract.stamptime" value="${b_T_Ufp_Contract.stamptime}"/>

                </td>
                </tr>
            </table>
            <div class="subBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
              搜索
                                </button>
                            </div>
                        </div>
                    </li>
                          <li>
                      
                    </li>
                </ul>
            </div>
        </div>
    </form>
    </div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li>
                <a class="add" href="contract/ContractDetail?flag=1" target="navTab" rel="ContractJump"><span>添加</span></a>
            </li>
            <li>
                <a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="contract/ContractDel" class="delete"><span>删除</span></a>
          
            <li class="line">
                line
            </li>
           
        </ul>
    </div>
    
    <table class="table" width="100%" layoutH="123">
        <thead>
            <tr>
                <th width="1%">
                    <input type="checkbox" name="checkIds" group="checkIds" class="checkboxCtrl">
                </th>
                <th width="2%" >
              序号        
                </th>
                 <th width="10%" orderField="stamptime" <c:if test="${(pager.orderField)== 'stamptime' }">class="${pager.orderDirection}"</c:if>>
              日期
                </th>
             
               
                      
                          <th width="10%" orderField="contractparty" <c:if test="${(pager.orderField)== 'contractparty' }">class="${pager.orderDirection}"</c:if>>
         甲方名称
                </th>
                 <th width="10%" orderField="contractid" <c:if test="${(pager.orderField)== 'contractid' }">class="${pager.orderDirection}"</c:if>>
         合同编号      
                </th>
                  <th width="20%" orderField="project" <c:if test="${(pager.orderField)== 'project' }">class="${pager.orderDirection}"</c:if>>
       项目名称
                </th>
                   </th>
                          <th width="10%" orderField="contractetime" <c:if test="${(pager.orderField)== 'contractetime' }">class="${pager.orderDirection}"</c:if>>
         合同到期日期
                </th>
                      <th width="5%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
    
        <c:forEach items="${pager.pageRecords}" var="b_T_Ufp_Contract" varStatus="s">
            <tr target="sid_user" rel="1">
                <td>
                    <input name="checkIds" value="${b_T_Ufp_Contract.uuid}" type="checkbox">
                </td>
                 <td>
                  ${s.count +pager.pageSize*(pager.currentPage-1)}
                </td>
                <td>
                    ${b_T_Ufp_Contract.stamptime}
                </td>
                  <td>
                  <a title="查看合同" target="navTab" href="contract/ContractRead?b_T_Ufp_Contract.uuid=${b_T_Ufp_Contract.uuid}&flag=2"><font color="blue">${b_T_Ufp_Contract.contractparty}</font></a>
                </td>
                  <td>
                    ${b_T_Ufp_Contract.contractid}
                </td>
                 <td>
                    ${b_T_Ufp_Contract.project}
                </td>
                <td>
                    ${b_T_Ufp_Contract.contractetime}
                </td>
                 <td>
                    <a title="删除" target="ajaxTodo" href="contract/ContractDel?checkIds=${b_T_Ufp_Contract.uuid}" class="btnDel">删除</a>
                    <a title="编辑" target="navTab" href="contract/ContractDetail?b_T_Ufp_Contract.uuid=${b_T_Ufp_Contract.uuid }&flag=2" rel="editMsg" class="btnEdit">编辑</a>
                </td>
            </tr>
            </c:forEach>
        </tbody>
    </table>
    <div class="panelBar">
        <jsp:include page="../include/_dwz_form_bottom.jsp" />
    </div>
</div>
